Auto merge of #1431 - IvanUkhov:newlines, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 18 Mar 2015 18:07:53 +0000 (18:07 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Mar 2015 18:07:53 +0000 (18:07 +0000)
commit8399dca532916c1ca9feba922d3b899c67b64450
tree20b7c634677b9ff325d11f593d64b7b999128b97
parent9b46b9bd3b7b9b090a43e7de4604d003a62c8ec9
parentdc2d54cb2d5e215cd755a48d7047fbdb838d6752
Auto merge of #1431 - IvanUkhov:newlines, r=alexcrichton

Hi,

It seems that people generally prefer not having newlines after section headers in their `Cargo.toml`s. However, when one creates a new package via `cargo new`, a newline gets automatically inserted after `[package]`. Then a typical `Cargo.toml` ends up being some what inconsistent: there is a newline after `[package]`, and there are no newlines after other headers.

On top of that, the examples given on crates.io do not seem to be consistent: [sometimes](http://doc.crates.io/index.html) there is a newline after `[package]`, and [sometimes](http://doc.crates.io/manifest.html) there is none. The same applies to other section names.

I am wondering if there should be some style conventions in this regard.

Regards,
Ivan
src/cargo/ops/cargo_new.rs